package com.whnk.attendance.vo;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 社保基本信息对象 social_insurance_info
 *
 * @author whnk
 * @date 2021-12-10
 */

public class SocialInsuranceInfoUpdateVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 逻辑主键 */
    @ApiModelProperty(value = "逻辑主键",required = false)
    private Long socialInsId;

    /** 社保分类编号 */
    @NotBlank(message = "社保分类编号不能为空")
    @ApiModelProperty(value = "社保分类编号",required = true)
    private String socialInsNum;

    /** 社保基数 */
    @NotNull(message = "社保基数不能为空")
    @ApiModelProperty(value = "社保基数",required = true)
    private BigDecimal socialInsBase;

    /** 社保公付比例 */
    @NotNull(message = "社保公付比例不能为空")
    @ApiModelProperty(value = "社保公付比例",required = true)
    private BigDecimal socialInsRatio;

    /** 公积金基数 */
    @NotNull(message = "公积金基数不能为空")
    @ApiModelProperty(value = "公积金基数",required = true)
    private BigDecimal housingFundBase;

    /** 公积金公付比例 */
    @NotNull(message = "公积金公付比例不能为空")
    @ApiModelProperty(value = "公积金公付比例",required = true)
    private BigDecimal housingFundRatio;

    /** 服务费 */
    @ApiModelProperty(value = "服务费")
    private BigDecimal serviceCharge;

    public Long getSocialInsId() {
        return socialInsId;
    }

    public void setSocialInsId(Long socialInsId) {
        this.socialInsId = socialInsId;
    }

    public String getSocialInsNum() {
        return socialInsNum;
    }

    public void setSocialInsNum(String socialInsNum) {
        this.socialInsNum = socialInsNum;
    }

    public BigDecimal getSocialInsBase() {
        return socialInsBase;
    }

    public void setSocialInsBase(BigDecimal socialInsBase) {
        this.socialInsBase = socialInsBase;
    }

    public BigDecimal getSocialInsRatio() {
        return socialInsRatio;
    }

    public void setSocialInsRatio(BigDecimal socialInsRatio) {
        this.socialInsRatio = socialInsRatio;
    }

    public BigDecimal getHousingFundBase() {
        return housingFundBase;
    }

    public void setHousingFundBase(BigDecimal housingFundBase) {
        this.housingFundBase = housingFundBase;
    }

    public BigDecimal getHousingFundRatio() {
        return housingFundRatio;
    }

    public void setHousingFundRatio(BigDecimal housingFundRatio) {
        this.housingFundRatio = housingFundRatio;
    }

    public BigDecimal getServiceCharge() {
        return serviceCharge;
    }

    public void setServiceCharge(BigDecimal serviceCharge) {
        this.serviceCharge = serviceCharge;
    }

    @Override
    public String toString() {
        return "SocialInsuranceInfoUpdateVo{" +
                "socialInsId=" + socialInsId +
                ", socialInsNum='" + socialInsNum + '\'' +
                ", socialInsBase=" + socialInsBase +
                ", socialInsRatio=" + socialInsRatio +
                ", housingFundBase=" + housingFundBase +
                ", housingFundRatio=" + housingFundRatio +
                ", serviceCharge=" + serviceCharge +
                '}';
    }

}
